|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectURIidevelopment.URIPolicies
public class URIPolicies
Constructor Summary | |
---|---|
URIPolicies()
|
Method Summary | |
---|---|
java.lang.String |
appellationURI(java.lang.String className,
java.lang.String subjUri,
java.lang.String appellation)
returns a URI for a specific appellation about an entity determined by the subject URI given |
java.lang.String |
createLiteral(java.lang.String className,
java.lang.String type,
java.lang.String note)
returns a Literal. |
java.lang.String |
dimensionURI(java.lang.String className,
java.lang.String subjUri,
java.lang.String dimensions)
returns a URI for a specific dimensions about an entity determined by the subject URI given |
java.lang.String |
uriConceptual(java.lang.String className,
java.lang.String thing)
returns a URI for Conceptual Things |
java.lang.String |
uriEvents(java.lang.String className,
java.lang.String authority,
java.lang.String eventID,
java.lang.String subjUri)
returns a URI for an Event based either on an already registered identifier for it, or on the type of the event determined by the className - if it is unique for the subject it is referred to(Birth, Death, Creation, etc.), or a UUID otherwise |
java.lang.String |
uriForActors(java.lang.String className,
java.lang.String authority,
java.lang.String id,
java.lang.String name,
java.lang.String birthDate)
returns a URI for Actor depending on the available information about him (an already registered identifier or his name combined with his vital Dates), or a UUID if there is no such information available. |
java.lang.String |
uriForPhysicalObjects(java.lang.String className,
java.lang.String nameOfMuseum,
java.lang.String entry)
returns a URI for the mainly described object. |
java.lang.String |
uriForPlaces(java.lang.String className,
java.lang.String placeName,
java.lang.String authority,
java.lang.String placeID,
java.util.ArrayList<java.lang.String> coordinates,
java.util.ArrayList<java.lang.String> spaces)
returns a uri for a specific place according to the available information about the geographical spaces or coordinates it belongs. |
java.lang.String |
uriPhysThing(java.lang.String className,
java.lang.String thing)
returns a URI for Physical Things |
java.lang.String |
uriTimeSpan(java.lang.String className,
java.lang.String timespan)
returns a URI for a TimeSpan defined by the argument timespan |
java.lang.String |
uriType(java.lang.String className,
java.lang.String type)
returns a URI for a specific Type |
java.lang.String |
uuid(java.lang.String className)
returns a random UUID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URIPolicies()
Method Detail |
---|
public java.lang.String uriForPhysicalObjects(java.lang.String className, java.lang.String nameOfMuseum, java.lang.String entry)
className
- the name of the corresponding CIDOC classnameOfMuseum
- the name of the organization keeping the object.entry
- the id given to the object by the organization
public java.lang.String uriForPlaces(java.lang.String className, java.lang.String placeName, java.lang.String authority, java.lang.String placeID, java.util.ArrayList<java.lang.String> coordinates, java.util.ArrayList<java.lang.String> spaces)
className
- the name of the corresponding CIDOC classplaceName
- the name of the Placeauthority
- the authority that has assigned an id to this placeplaceID
- the id given to this place by the authoritycoordinates
- the geographical coordinates of the current placespaces
- the geographical spaces the place belongs
public java.lang.String uriForActors(java.lang.String className, java.lang.String authority, java.lang.String id, java.lang.String name, java.lang.String birthDate)
className
- the name of the corresponding CIDOC classauthority
- if not null, it represents an authority that has registered
a specific identifier to the current Actorid
- the identifier registered to the Actorname
- the Name of the ActorbirthDate
- the date Actor was born
public java.lang.String uriPhysThing(java.lang.String className, java.lang.String thing)
className
- the name of the corresponding CIDOC classthing
- the name of the thing
public java.lang.String uriConceptual(java.lang.String className, java.lang.String thing)
className
- the name of the corresponding CIDOC classthing
- the name of the thing
public java.lang.String uriType(java.lang.String className, java.lang.String type)
className
- the name of the corresponding CIDOC classtype
- the type
public java.lang.String appellationURI(java.lang.String className, java.lang.String subjUri, java.lang.String appellation)
className
- the name of the corresponding CIDOC classsubjUri
- the URI of the subject to which the appellation correspondsappellation
- the appellation of the subject
public java.lang.String dimensionURI(java.lang.String className, java.lang.String subjUri, java.lang.String dimensions)
className
- the name of the corresponding CIDOC classsubjUri
- the URI of the subject to which the dimensions corresponddimensions
- the dimensions of the subject
public java.lang.String uriTimeSpan(java.lang.String className, java.lang.String timespan)
className
- the name of the corresponding CIDOC classtimespan
- the period of time
public java.lang.String uriEvents(java.lang.String className, java.lang.String authority, java.lang.String eventID, java.lang.String subjUri)
className
- the name of the corresponding CIDOC classauthority
- the qualified authority for the event identifiereventID
- the event identifiersubjUri
- the URI of the subject to which the event corresponds
public java.lang.String uuid(java.lang.String className)
className
- the name of the corresponding CIDOC class
public java.lang.String createLiteral(java.lang.String className, java.lang.String type, java.lang.String note)
className
- the name of the corresponding CIDOC classtype
- the type of information describednote
- the String representation
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |